package com.wanxi.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wanxi.util.IdJsonSerialize;
import lombok.Data;

/**
 * @author 杨金乾
 */
@Data
public class NewsModel {
    @JsonSerialize(using = IdJsonSerialize.class)
    private Long id;
    private String createTime;
    private String createTimeStart;
    private String createTimeEnd;
    private String updateTime;
    private String updateTimeStart;
    private String updateTimeEnd;
    private Integer enable;
    private String remark;

    private Integer page;
    private Integer limit;

    private String name;
    private String source;
    private String author;
    private Integer number;
    private String subject;
    private String content;
    private Integer isShow;
    private Integer whereShow;
    private Integer isRecommend;
    private Long newsclassificationId;
    private String newsclassificationName;
//    private NewsclassificationModel newsclassificationModel;
}
